package com.liangtian.mdm.system.datapermission.service;

import com.liangtian.mdm.system.datapermission.model.SysDataPermission;

import java.util.List;
import java.util.Map;

public interface SysDataPermissionService {

    public List<SysDataPermission> getDataPermissionLstByCond(SysDataPermission permission);

    /**
     * add by ly at 2017-02-21
     * method Descriptions: 保存数据权限
     *
     * @param permissionArray
     * @param userId
     * @param dpType
     */
    public void saveDataPermission(String[] permissionArray, String userId, String dpType);

    public int deleteUserWlPermission(Map<String, Object> map);


}
